package edu.yuhf.streamdemo;

import edu.yuhf.vo.Address;
import edu.yuhf.vo.User;

import java.util.ArrayList;
import java.util.List;

public class CollectionUserOperation {

    private List<User> user;

    public CollectionUserOperation(){
        user = new ArrayList<>();
        user.add(new User("1","喜洋洋",new Address("3701","青青草原")));
        user.add(new User("2","灰太郎",new Address("3702","狼堡")));
        user.add(new User("3","天线宝宝",new Address("3703","忘了")));
        user.add(new User("4","熊大",new Address("3704","大森林")));

    }

    public void queryUserNameAndStreet(){

    }
}
